from day07.animal import Animal
class Cat(Animal):
    def __str__(self):
        return f"我是一只猫,名字叫:{self.name}"

    def play(self):
        print(f"{self.name}在玩耍")

    @staticmethod
    def run():
        print("动物们跑起来")

# 创建对象
tom = Cat("汤姆")
tom.play()
Cat.run()
print(tom)
